//
//  FBKVOController+XHExtension.m
//  XHFoundationModule
//
//  Created by xinph on 2020/3/16.
//  Copyright © 2020 xinph. All rights reserved.
//

#import "FBKVOController+XHExtension.h"

@implementation FBKVOController (XHExtension)

- (void)xh_observe:(id)object keyPath:(NSString *)keyPath block:(FBKVONotificationBlock)block
{
    [self observe:object keyPath:keyPath options:NSKeyValueObservingOptionInitial|NSKeyValueObservingOptionNew block:block];
}

- (void)xh_observe:(id)object keyPath:(NSString *)keyPath action:(SEL)action
{
    [self observe:object keyPath:keyPath options:NSKeyValueObservingOptionInitial|NSKeyValueObservingOptionNew action:action];
}

@end
